package com.ac.app.web.form;

import com.caac.core.web.form.BaseForm;
import com.ac.app.dm.PickEntry;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright AgileCentury 2008</p>
 * <p>Company: AgileCentury </p>
 * @author <a href="mailto:ac@agilecentury.com">Agile</a>
 * @version 1.0
 */

public class PkEntryForm extends BaseForm {
	private PickEntry pickEntry;
	private String id;
	private String srcName;
    private String etrName;
    private String etrUrl;
    private String charset;
    private String pickItv;
    private String prcNo;
    private String etyParseType;
    private String etyParseBeg;
    private String etyParseEnd;
    private String conParseType;
    private String conParseBeg;
    private String conParseEnd;
    private String state;

	public PickEntry getPickEntry() {
		return pickEntry;
	}

	public void setPickEntry(PickEntry pickEntry) {
		this.pickEntry = pickEntry;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getConParseBeg() {
		return conParseBeg;
	}

	public void setConParseBeg(String conParseBeg) {
		this.conParseBeg = conParseBeg;
	}

	public String getConParseEnd() {
		return conParseEnd;
	}

	public void setConParseEnd(String conParseEnd) {
		this.conParseEnd = conParseEnd;
	}

	public String getConParseType() {
		return conParseType;
	}

	public void setConParseType(String conParseType) {
		this.conParseType = conParseType;
	}

	public String getEtrName() {
		return etrName;
	}

	public void setEtrName(String etrName) {
		this.etrName = etrName;
	}

	public String getEtrUrl() {
		return etrUrl;
	}

	public void setEtrUrl(String etrUrl) {
		this.etrUrl = etrUrl;
	}

	public String getEtyParseBeg() {
		return etyParseBeg;
	}

	public void setEtyParseBeg(String etyParseBeg) {
		this.etyParseBeg = etyParseBeg;
	}

	public String getEtyParseEnd() {
		return etyParseEnd;
	}

	public void setEtyParseEnd(String etyParseEnd) {
		this.etyParseEnd = etyParseEnd;
	}

	public String getEtyParseType() {
		return etyParseType;
	}

	public void setEtyParseType(String etyParseType) {
		this.etyParseType = etyParseType;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	
	public String getPickItv() {
		return pickItv;
	}

	public void setPickItv(String pickItv) {
		this.pickItv = pickItv;
	}

	public String getPrcNo() {
		return prcNo;
	}

	public void setPrcNo(String prcNo) {
		this.prcNo = prcNo;
	}

	public String getSrcName() {
		return srcName;
	}

	public void setSrcName(String srcName) {
		this.srcName = srcName;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	public Integer getInt1() {
        try {
            return Integer.parseInt(this.prcNo);
        } catch (Exception e) {
            return null;
        }
    }

	public Integer getInt2() {
        try {
            return Integer.parseInt(this.pickItv);
        } catch (Exception e) {
            return null;
        }
    }

}
